﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DefDutyAdd.aspx.cs" Inherits="UI.ModEmployee.DefDutyAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>添加职位（定义职位用）</title>
     <link rel="stylesheet" type="text/css" href="../Styles/BaseStyle.css" />
</head>
<body>
    <form id="form1" runat="server">
    <div id="pagetop" class="pagetop">
        <div class="pagetopleft">
            <b>定义职位</b></div>     
    </div>
    <div>
    </div>
    <div style="margin-left: 80px">
    <table width="100%" border="0">
  <tr>
    <td width="20%">职位名称：&nbsp;</td>
    <td width="80%"> <asp:TextBox ID="txtName" runat="server" Width="150px" 
            CssClass="InputCss" MaxLength="20"></asp:TextBox>&nbsp;</td>
  </tr>
  <tr>
    <td> 所属部门：&nbsp;</td>
    <td>  <asp:DropDownList ID="ddlDeptID" runat="server" CssClass="InputCss">
        </asp:DropDownList>&nbsp;</td>
  </tr>
    <tr>
    <td> 职位级别：&nbsp;</td>
    <td>  <asp:DropDownList ID="ddlDutyType" runat="server" CssClass="InputCss">
        </asp:DropDownList>&nbsp;（计算工龄工资等会用，务必要正确）</td>
  </tr>
  <tr>
    <td> 说明：&nbsp;</td>
    <td> <asp:TextBox ID="txtMemo" runat="server" CssClass="InputCss" MaxLength="50" 
            Width="150px"></asp:TextBox>
       &nbsp;</td>
  </tr>
  <tr>
    <td> 为类别顺序： &nbsp;</td>
    <td>  
        <asp:TextBox ID="txtAbsIndex" Width="30px" runat="server" CssClass="InputCss" 
            MaxLength="3">1</asp:TextBox>
       &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 为工资排序  
        <asp:TextBox ID="txtSalIndex" Width="30px" runat="server" CssClass="InputCss" 
            MaxLength="3">1</asp:TextBox>
       </td>
  </tr>
   <tr>
    <td> 职位职责：&nbsp;</td>
    <td> <asp:TextBox ID="txtProfile" runat="server" CssClass="InputCss" 
            MaxLength="2000" Width="350px" Rows="12" TextMode="MultiLine"></asp:TextBox>
       &nbsp;</td>
  </tr>
</table>

    
         &nbsp;  &nbsp;&nbsp; &nbsp; &nbsp; <asp:Button ID="btnAdd" runat="server" Text="增加" OnClick="btnAdd_Click" 
            TabIndex="12" />
        &nbsp;<asp:Button ID="btnUpdate" runat="server" Text="更新"   OnClick="btnUpdate_Click" TabIndex="13" style="height: 21px" />
        &nbsp;<asp:Button ID="btnClo" runat="server" Text="关闭" TabIndex="14" 
            style="height: 21px" onclick="btnClo_Click" />
        &nbsp;<asp:Button ID="btnOpen" runat="server" Text="开启"    TabIndex="15" 
            style="height: 21px" onclick="btnOpen_Click" />
        &nbsp;<asp:Button ID="btnDelete" runat="server" Text="删除"  
            OnClick="btnDelete_Click" OnClientClick="return confirm('确定要删除吗?\n注意：如果删除了该职位，则定义的职位上下限也会被删除！');" TabIndex="13" />

  
      </div>
    </form>
</body>
</html>
